package com.classroom.smart.mapper;

import com.classroom.smart.pojo.VideoCourse;
import com.classroom.smart.pojo.VideoCourseExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface VideoCourseMapper {
    int countByExample(VideoCourseExample example);

    int deleteByExample(VideoCourseExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(VideoCourse record);

    int insertSelective(VideoCourse record);

    List<VideoCourse> selectByExample(VideoCourseExample example);

    VideoCourse selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") VideoCourse record, @Param("example") VideoCourseExample example);

    int updateByExample(@Param("record") VideoCourse record, @Param("example") VideoCourseExample example);

    int updateByPrimaryKeySelective(VideoCourse record);

    int updateByPrimaryKey(VideoCourse record);
}